package com.yingxin.yxerp.module.sys.vo.req;

import com.yingxin.yx.framework.mybatisplus.common.CommonEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;

/**
 * 钉钉发送消息回话id设置
 * @author jiangxudong
 * @since 2022-05-13
 */

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="DingMessageSetCreateVo对象", description="钉钉发送消息回话id设置")
public class DingMessageSetCreateVo extends CommonEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "会话类型")
    @Length(max = 10)
    private String chatType;

    @ApiModelProperty(value = "钉钉会话id")
    @Length(max = 255)
    private String chatId;

    @ApiModelProperty(value = "企业微信会话id")
    @Length(max = 255)
    private String weComChatId;

    @ApiModelProperty(value = "会话说明")
    @Length(max = 255)
    private String chatExplain;

    @ApiModelProperty(value = "发送标记")
    @Length(max = 1)
    private String isSend;

    @ApiModelProperty(value = "排序")
    private Integer sort;

}
